import request from '@/utils/request'
export default {

     /**
   * 查询内容
   * @param queryParam
   */
    queryConfigData(queryParam,pageParam) {
        return request({
            url: '/sys_paymentConfig/queryConfig',
            method: 'post',
            data:{
                ...queryParam,
                current: pageParam.current,
                size: pageParam.size
            }
          })
    },

    updateConfigMode(data) {
        return request({
            url: '/sys_paymentConfig/updateConfig',
            method: 'post',
            data
          })
    },

    addConfigMode(data) {
        return request({
            url: '/sys_paymentConfig/addConfig',
            method: 'post',
            data
          })
    },
    /**
     * 删除
     * @param {*} data 
     */
    deletePaymentConfig(data) {
        return request({
          url: '/sys_paymentConfig/',
          method: 'delete',
          data
        })
      }
}